<?php
	require('funkcije.php');
	require('validacija.php'); 
?>
<form id="edit_form" name="edit_form" action="?con=<?php echo $_REQUEST['con']; ?>&amp;site=<?php echo $_REQUEST['site']; ?>&amp;item=<?php echo $_REQUEST['item']; ?>" method="post">
<div class="editor">
	<div class="menu_left">
		<?php require('menu.php'); ?>
	</div>
	<div class="editor_form">
		<?php 
		if($_REQUEST['item'] > 0)
		{ require('editor.php'); }
		else
		{ 
			if($_REQUEST['site'] > 0)
			{ require('templates.php');  }
		}
		?>
	</div>
</div>
</form>